import { BasicColumn } from '/@/components/Table';
export const columns: BasicColumn[] = [
  {
    title: '文件名',
    dataIndex: 'name',
    width: 120,
  },
  {
    title: '行号',
    dataIndex: 'lineNum',
    width: 50,
  },
  {
    title: '错误描述',
    dataIndex: 'errors',
    format(text) {
      if (text) return text.join();
    },
  },
];
